<script type="text/javascript">
	
	function batal(){
		document.location.href = '<?=base_url().'index.php/merk_kendaraan'?>';
	}
	
</script>

	<?php 
		if(validation_errors())
		{
	?>
			<ul class="message error grid_12">
				<li><?=validation_errors()?></li>
				<li class="close-bt"></li>
			</ul>	
	<?php
		} 
	?>

<section class="grid_12">
	<div class="block-border">
		<?php
			$attributes = array('name' => 'form1', 'id' => 'form1', 'class'=>'block-content form');
			echo form_open('merk_kendaraan/insert', $attributes);
		?>
			<h1>Data Referensi > Tambah Data Merk Kendaraan</h1>
			
			<fieldset>	
				<div class="columns">
					 
					<p class="colx3-left">
						<label for="complex-en-url">Kode Merk Kendaraan (*) :</label>
						<span class="relative">
							<input type="text" name="kode" id="kode"   value="" class="duapertiga-width">
						</span>
					</p>
					
				</div> 
				<div class="columns">
					<p class="colx3-left">						<label for="complex-en-url">Nama Merk Kendaraan (*) :</label>						<span class="relative">							<input type="text" name="nama" id="nama" value="" class="setengah-width">						</span>					</p>
				</div>									<div class="columns">					 					<p class="colx3-left">						<label for="complex-en-url">Nama Model Kendaraan (*) :</label>						<span class="relative">							<input type="text" name="model" id="model"   value="" class="duapertiga-width">						</span>					</p>									</div>								<div class="columns">					 					<p class="colx3-left">						<label for="complex-en-url">Nama Jenis Kendaraan (*) :</label>						<span class="relative">							<input type="text" name="jenis" id="jenis"   value="" class="duapertiga-width">						</span>					</p>									</div>
				<div class="columns">
					
				</div>
			</fieldset>
			
		 
			
			
			<div id="tab-settings" class="tabs-content">
					<button type="submit"><img src="<?=base_url()?>asset/admin/images/icons/fugue/tick-circle.png" width="16" height="16"> Simpan</button>
					<button type="button" onclick="javascript:batal();" class="red">Batal</button> 					
			</div>
			
		</form>
	</div>
</section>